package com.zwps.biz.dal.db.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zwps.biz.api.model.vo.fourpipes.ZDangerResourceVO;
import com.zwps.biz.api.model.vo.fourpipes.ZForemanageSafeVO;
import com.zwps.biz.api.model.vo.pubpointall.PubPointCountVO;
import com.zwps.biz.api.model.vo.pubpointall.SafetyAppraisalPlanVO;
import com.zwps.biz.api.model.vo.structure.*;
import com.zwps.biz.dal.db.object.ZWaterLawEnforcementDO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Entity com.zwps.biz.dal.db.object.ZWaterLawEnforcement
 */
@DS("lhk")
public interface ZWaterLawEnforcementDAO extends BaseMapper<ZWaterLawEnforcementDO> {

    WaterLawEnforcementCountVO getWaterLawEnforcement();
    List<WaterLawEnforcementVO> getWaterLawEnforcementRecord();

    List<YearMonthCountVO> getWaterLawEnforcementCount(@Param("type") Integer type,@Param("year") Integer year);

    PubPointCountVO getWaterLawEnforcementCounts(Integer year);

    List<SafetyAppraisalPlanVO> getSafetyAppraisalPlanList(Integer year);

    List<ZForemanageSafeVO> getZForemanageSafeList(@Param("type") Integer type,@Param("year") Integer year);

    List<ZDangerResourceVO> getZDangerResourceList(Integer year);

    int getZCountrySubmit();

    LocalDateTime getZCountrySubmitTime();

    NameValueVO getZCountrySubmitByType(String cloumn);

    List<PatrolRecordVO> getPatrolList();
}




